package com.itheima.mapper;

import com.itheima.entity.Clazz;
import com.itheima.entity.ClazzQueryParam;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ClazzMapper {
    List<Clazz> page(ClazzQueryParam param);

    List<Clazz> list();

    void delete(Integer id);

    void insert(Clazz clazz);

    Clazz getById(Integer id);

    void update(Clazz clazz);
}